package vinux.web.common.es;



import org.springframework.beans.factory.annotation.Autowired;

import vinux.service.service.tchange.service.TChangeService;
import vinux.service.service.userbaseinfo.service.UserBaseInfoService;




public class EsSyncUtils{
	
	@Autowired
	TChangeService tchangeService;
	
	@Autowired
	UserBaseInfoService userService;

	
	
	public void init(){
	SyncWorker worker = new SyncWorker(userService,tchangeService);
	new Thread(worker).start();

	
	}
	

}
